package org.jdsm.flow.core.simpleblog;


import org.jdsm.flow.core.base.IEntity;

import java.util.Date;
import java.util.List;


/**
 * Created with IntelliJ IDEA.
 * User: mikom
 * Date: 11/5/12
 * Time: 11:40 AM
 */
public interface IPost<T> extends IEntity<T> {


    String getTitle();

    void setTitle(String title);

    String getContent();

    void setContent(String content);

    Date getCreateDate();

    void setCreateDate(Date createDate);

    List getComments();

    void setComments(List comments);

    String getKeyWords();

    void setKeyWords(String keyWords);

    String getDescription();

    void setDescription(String description);

    String getShortDescription();

    void setShortDescription(String shortDescription);

    Boolean getDraft();

    void setDraft(Boolean draft);

    Boolean getHidden();

    void setHidden(Boolean hidden);

    Integer getCountView();

    void setCountView(Integer countView);

    Integer getCountPreView();

    void setCountPreView(Integer countPreView);
}
